package com.lord.otter.component.infrastructure.retry.constant;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 失败类型
 * @author lord
 * 2025/8/13 17:58
 */
@Getter
@AllArgsConstructor
public enum FailType {
    BUSINESS_EXCEPTION("BUSINESS_EXCEPTION", "业务异常"),
    CONNECT_EXCEPTION("CONNECT_EXCEPTION", "连接异常"),
    UNKNOWN("UNKNOWN", "未知"),
    ;
    private final String code;

    private final String describe;
}
